Telegram Group & Telegram Channel
Задача для новичков.

Создайте функцию, которая принимает список и находит целое число, которое встречается нечетное количество раз

Пример:
find_odd([1, 1, 2, -2, 5, 2, 4, 4, -1, -2, 5]) ➞ -1
find_odd([20, 1, 1, 2, 2, 3, 3, 5, 5, 4, 20, 4, 5]) ➞ 5
find_odd([10]) ➞ 10

Пишите ваши варианты решения в комментах. Варианты решений будут скоро(сегодня-завтра)

#новичок #coбес



tg-me.com/pythonturboru/366
Create:
Last Update:

Задача для новичков.

Создайте функцию, которая принимает список и находит целое число, которое встречается нечетное количество раз

Пример:

find_odd([1, 1, 2, -2, 5, 2, 4, 4, -1, -2, 5]) ➞ -1
find_odd([20, 1, 1, 2, 2, 3, 3, 5, 5, 4, 20, 4, 5]) ➞ 5
find_odd([10]) ➞ 10

Пишите ваши варианты решения в комментах. Варианты решений будут скоро(сегодня-завтра)

#новичок #coбес

BY Python Turbo. Уютное сообщество Python разработчиков.


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonturboru/366

View MORE
Open in Telegram


Python Turbo Уютное сообщество Python разработчиков Telegram | DID YOU KNOW?

Date: |

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

What Is Bitcoin?

Bitcoin is a decentralized digital currency that you can buy, sell and exchange directly, without an intermediary like a bank. Bitcoin’s creator, Satoshi Nakamoto, originally described the need for “an electronic payment system based on cryptographic proof instead of trust.” Each and every Bitcoin transaction that’s ever been made exists on a public ledger accessible to everyone, making transactions hard to reverse and difficult to fake. That’s by design: Core to their decentralized nature, Bitcoins aren’t backed by the government or any issuing institution, and there’s nothing to guarantee their value besides the proof baked in the heart of the system. “The reason why it’s worth money is simply because we, as people, decided it has value—same as gold,” says Anton Mozgovoy, co-founder & CEO of digital financial service company Holyheld.

Python Turbo Уютное сообщество Python разработчиков from id


Telegram Python Turbo. Уютное сообщество Python разработчиков.
FROM USA